// storePackage/pages/calculusDetail/calculusDetail.js
import { myIncomeList } from "../../../service/agency_service"
const app = getApp();
Page({

    /**
     * 页面的初始数据
     */
    data: {
        dataList: [


        ]
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {
        this.myIncomeList();
    },



    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },

    myIncomeList() {
        wx.showLoading();
        myIncomeList(0, 500).then(res => {
            wx.hideLoading();
            if (res.code == 200) {
                this.setData({
                    dataList: res.data
                })
            }
        }).catch(err => {
            wx.hideLoading();
            console.error("JJLog:列表失败:", err);
            wx.showToast({
                title: err || '查询失败',
                icon: "none",
                duration: 3000,
            })
        })
    },






})